package com.tang.services;

import com.tang.bean.*;

import java.util.List;

public interface OrderService {
  String checkout(Cart cart, User user) throws Exception;

  Page<Order> getOrderPage(Integer pageNo, Integer userId) throws Exception;

  Page<Order> getOrderPageByManager(Integer pageNo) throws Exception;

  List<OrderItem> getOrderDetails(Integer orderId) throws Exception;

  void send(Integer orderId,Integer orderStatus) throws Exception;

  void orderCancel(Integer orderId)throws Exception;
}
